A Comparison of Entry Consistency and Lazy Release Consistency Implementations
نویسندگان
چکیده
This paper compares several implementations of entry consistency (EC) and lazy release consistency (LRC), two relaxed memory models in use with software distributed shared memory (DSM) systems. We use six applications in our study: SOR, Quicksort, Water, Barnes-Hut, IS, and 3D-FFT. For these applications , EC's requirement that all shared data be associated with a synchronization object leads to a fair amount of additional programmingeeort. We identify, in particular, extra synchronization, lock rebinding, and object granularity as sources of extra complexity. In terms of performance, for the set of applications and for the computing environment utilized neither model is consistently better than the other. For SOR and IS, execution times are about the same, but LRC is faster for Water (33%) and Barnes-Hut (41%) and EC is faster for Quicksort (14%) and 3D-FFT (10%). Among the implementations of EC and LRC, we independently vary the method for write trapping and the method for write collection. Our goal is to separate implementation issues from any particular model. We consider write trapping by compiler instrumentation of the code and by twinning (comparing the current version of shared data with an older version). Write collection is done either by scanning timestamps or by building diis, records of the changes to shared data. For write trapping in EC, twinning is faster if data is shared at the granularity of a single word. For larger granularities than a word, compiler instrumentation is faster. For write trapping in LRC, twinning gives the best performance for all applications. For write collection in EC, timestamping works best in applications dominated by migratory data, while for other data diing works best. For LRC, increased communication overhead in transmitting timestamps becomes an additional factor working in favor of diing for applications with ne-grain sharing.
منابع مشابه
An Improved Lazy Release Consistency Model
Problem statement: A network of workstations, viewed as a distributed shared memory system can be used to develop and test parallel algorithms. Approach: For implementing parallel algorithms on such DSMs shared memory consistency model plays a vital role. Results: However on a LAN, strict consistency models like Sequential Consistency model (SC) are not useful since the communication is slow. I...
متن کاملA Comparison of Entry Consistency and Lazy Release Consistency Implementations - High-Performance Computer Architecture, 1996. Proceedings., Second International Symposium on
This paper compares several implementations of e n t r y consistency (EC) and lazy release consistency (LRC), two relaxed memory models in use with software distributed shared memory (DSM) systems. We use six applications in our study: SOR, Quicksort, Water, Barnes-Hut, IS, and 3D-FFT. For these applications, EC’s requirement that all shared data be associated with a synchronization object lead...
متن کاملAn Evaluation of Software-Based Release Consistent Protocols
This paper presents an evaluation of three software implementations of release consistency Release consistent protocols allow data communication to be aggre gated and multiple writers to simultaneously modify a single page We evalu ated an eager invalidate protocol that enforces consistency when synchronization variables are released a lazy invalidate protocol that enforces consistency when syn...
متن کاملA Node Count-Independent Logical Clock for Scaling Lazy Release Consistency Protocol
The use of per processor vector logical clocks in lazy release consistency (LRC) protocol implementation may restrict its scalability since the size of these clocks depends on the number of nodes of the system. We propose a new logical clock, the barrier-lock, whose concept is based on the causality of synchronization operations. Its size is proportional to the number of synchronization variabl...
متن کاملMultiple-Writer Entry Consistency
In this paper, we present the design, implementation and evaluation of a new distributed shared memory (DSM) coherence model called multiple-writer entry consistency (MEC). MEC combines the eecient communication mechanisms of Lazy Release Consistency (LRC) with the exible data management of the Shared Regions 17, 11] and Entry Consistency (EC) models 5]. This is achieved in MEC by decoupling sy...
متن کامل